namespace Maple.Branch.Tenants.IServices
{
    using System.Threading.Tasks;
    using Entities;
    using JetBrains.Annotations;
    using Volo.Abp.Domain.Services;

    public interface ITenantManager : IDomainService
    {
        [NotNull]
        Task<Tenant> CreateAsync([NotNull] string name);

        Task ChangeNameAsync([NotNull] Tenant tenant, [NotNull] string name);
    }
}
